package itman.feign.impl;

import itman.feign.FoodFeignClient;
import itman.po.CommonResult;
import org.springframework.stereotype.Component;

@Component
public class FoodFeignClientCallBack implements FoodFeignClient {
    @Override
    public CommonResult listFoodByBusinessId(Integer businessId) {
        return new CommonResult(403,"feign触发了熔断降级",null);
    }
}
